<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/index" data-field="nickname" class="form-control" name="row[user_id]" type="text" value="{$row.user_id}" readonly="readonly">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Invite_1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-invite_1" data-rule="required" class="form-control" name="row[invite_1]" type="number" value="{$row.invite_1}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Invite_2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-invite_2" data-rule="required" class="form-control" name="row[invite_2]" type="number" value="{$row.invite_2}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Invite_3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-invite_3" data-rule="required" class="form-control" name="row[invite_3]" type="number" value="{$row.invite_3}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Invite_4')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-invite_4" data-rule="required" class="form-control" name="row[invite_4]" type="number" value="{$row.invite_4}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tx')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-tx" class="form-control " rows="5" name="row[tx]" cols="50" readonly="readonly">{$row.tx}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[time]" type="text" value="{$row.time|datetime}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
